<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - nhn.newsstand.viewer.paper.Model</title>

		<style type="text/css">
			/* default.css */
body
{
	font-family:"돋움", Dotum, AppleGothic, sans-serif; 
	font-size:12px;
	width: 1200px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

.fl
{
	float: left;
}

.fr
{
	float: right;
}

.cb
{
	clear: both;
}

#header
{
	text-weight: bold;
	text-align: center;
}

#header h1
{
	font-size: 130%;
	font-weight: bold;
	color: #fff;
	margin: 0;
	padding: .5em 0 .5em 0;
	background: #7F8FB1;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 250px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 280px;
	width: 910px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-family: "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	font-size: 170%;
	line-height: 130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 100px;
	text-align: center;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

dl.inheritsList 
{
	margin-left: 20px;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<!-- header.html -->
<div id="header">
<h1>Newsstand JsDoc</h1>
</div>
<!--// header.html -->
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<!-- 공통 네임스페이스 제거함 : allclasses.tmpl //-->

<h2>Common Namespace</h2>
<ul class="classList">
	<li>nhn.newsstand.</li>
</ul> 

<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/nhn.newsstand.common.AbstractController.html">common.AbstractController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.BatchProcessing.html">common.BatchProcessing</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.CanvasPathPainter.html">common.CanvasPathPainter</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.ContentDisplayCountAdjuster.html">common.ContentDisplayCountAdjuster</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.EventDispatcher.html">common.EventDispatcher</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.footer.GuideDetailLayer.html">common.footer.GuideDetailLayer</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.header.LnbMenuLayer.html">common.header.LnbMenuLayer</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.ImageLazyLoader.html">common.ImageLazyLoader</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.ImageUrlGenerator.html">common.ImageUrlGenerator</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.IntroHelp.html">common.IntroHelp</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.left.BillingChargePopup.html">common.left.BillingChargePopup</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.CheckboxSelector.html">common.page.CheckboxSelector</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.ContentSearcher.html">common.page.ContentSearcher</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.ContentViewModeChanger.html">common.page.ContentViewModeChanger</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.ContentViewToggler.html">common.page.ContentViewToggler</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.ItemClickRequesterHelper.html">common.page.ItemClickRequesterHelper</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.Pagination.html">common.page.Pagination</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.Requester.html">common.page.Requester</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.page.ViewEventController.html">common.page.ViewEventController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.PageFlip.html">common.PageFlip</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.pathManger.html">common.pathManger</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.pathPainter.html">common.pathPainter</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.PopupLayer.html">common.PopupLayer</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.PressCalendar.html">common.PressCalendar</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.Print.html">common.Print</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.Purchase.html">common.Purchase</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.PutInBasket.html">common.PutInBasket</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.ResizeLayer.html">common.ResizeLayer</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.Save.html">common.Save</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.ScrapArticle.html">common.ScrapArticle</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.TileMap.html">common.TileMap</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.TilePool.html">common.TilePool</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.util.html">common.util</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.util.Bubbler.html">common.util.Bubbler</a></li>
	
	<li><a href="../symbols/nhn.newsstand.common.Zoomming.html">common.Zoomming</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.ContentLoader.html">home.ContentLoader</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.Controller.html">home.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.DateToolController.html">home.DateToolController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.HotNewsListController.html">home.HotNewsListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.ListByDateController.html">home.ListByDateController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.ListByHotNewsController.html">home.ListByHotNewsController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.ListBySectionController.html">home.ListBySectionController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.home.SectionListController.html">home.SectionListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.AjaxHistoryController.html">myscrap.AjaxHistoryController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.ArticleListController.html">myscrap.ArticleListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.ArticleMove.html">myscrap.ArticleMove</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.ArticleMoveDrag.html">myscrap.ArticleMoveDrag</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.ContentLoader.html">myscrap.ContentLoader</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderAdd.html">myscrap.FolderAdd</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderContextMenu.html">myscrap.FolderContextMenu</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderDelete.html">myscrap.FolderDelete</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderListController.html">myscrap.FolderListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderMove.html">myscrap.FolderMove</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderMoveDrag.html">myscrap.FolderMoveDrag</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderRename.html">myscrap.FolderRename</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderSelector.html">myscrap.FolderSelector</a></li>
	
	<li><a href="../symbols/nhn.newsstand.myscrap.FolderTree.html">myscrap.FolderTree</a></li>
	
	<li><a href="../symbols/nhn.newsstand.press.AjaxHistoryController.html">press.AjaxHistoryController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.press.ContentLoader.html">press.ContentLoader</a></li>
	
	<li><a href="../symbols/nhn.newsstand.press.Controller.html">press.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.press.FrontPageListController.html">press.FrontPageListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.press.PressListController.html">press.PressListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.search.AjaxHistoryController.html">search.AjaxHistoryController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.search.ArticleListController.html">search.ArticleListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.search.ContentLoader.html">search.ContentLoader</a></li>
	
	<li><a href="../symbols/nhn.newsstand.search.Controller.html">search.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.search.SearchOptionUIController.html">search.SearchOptionUIController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.section.AjaxHistoryController.html">section.AjaxHistoryController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.section.ArticleListController.html">section.ArticleListController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.section.ContentLoader.html">section.ContentLoader</a></li>
	
	<li><a href="../symbols/nhn.newsstand.section.Controller.html">section.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.section.DateController.html">section.DateController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.section.PressController.html">section.PressController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.section.SectionController.html">section.SectionController</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.allpaper.Controller.html">viewer.allpaper.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.allpaper.Model.html">viewer.allpaper.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.allpaper.View.html">viewer.allpaper.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.article.Controller.html">viewer.article.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.article.Model.html">viewer.article.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.article.View.html">viewer.article.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.config.html">viewer.config</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.Controller.html">viewer.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.fullscreen.Controller.html">viewer.fullscreen.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.fullscreen.View.html">viewer.fullscreen.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.history.Controller.html">viewer.history.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.Model.html">viewer.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.paper.Controller.html">viewer.paper.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.paper.Model.html">viewer.paper.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.paper.View.html">viewer.paper.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.popup.Controller.html">viewer.popup.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.CommonModel.html">viewer.sidebar.CommonModel</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.CommonView.html">viewer.sidebar.CommonView</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.Controller.html">viewer.sidebar.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.ImageType.Controller.html">viewer.sidebar.ImageType.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.ImageType.Model.html">viewer.sidebar.ImageType.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.ImageType.View.html">viewer.sidebar.ImageType.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.PurchasedType.Controller.html">viewer.sidebar.PurchasedType.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.PurchasedType.Model.html">viewer.sidebar.PurchasedType.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.PurchasedType.View.html">viewer.sidebar.PurchasedType.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.SearchType.Controller.html">viewer.sidebar.SearchType.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.SearchType.Model.html">viewer.sidebar.SearchType.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.SearchType.View.html">viewer.sidebar.SearchType.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.SubjectType.Controller.html">viewer.sidebar.SubjectType.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.SubjectType.Model.html">viewer.sidebar.SubjectType.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.sidebar.SubjectType.View.html">viewer.sidebar.SubjectType.View</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.toolbar.Controller.html">viewer.toolbar.Controller</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.toolbar.Model.html">viewer.toolbar.Model</a></li>
	
	<li><a href="../symbols/nhn.newsstand.viewer.toolbar.View.html">viewer.toolbar.View</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class nhn.newsstand.viewer.paper.Model
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				뷰어 > 지면뷰어의 모델
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/D__workspace_newsstand-service_src_main_webapp_js_viewer_model_nhn.newsstand.viewer.paper.Model.js.html">nhn.newsstand.viewer.paper.Model.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class nhn.newsstand.viewer.paper.Model.">
				<caption>
					
					Constructor Summary
				</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes"></td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#constructor">nhn.newsstand.viewer.paper.Model</a></b>()
							</div>
							<div class="description">nhn.newsstand.viewer.paper.Model 클래스의 인스턴스를 생성한다.</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class nhn.newsstand.viewer.paper.Model.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcContextMenuCoordi">calcContextMenuCoordi</a></b>(aCoord, sSide, nDPI)
								</div>
								<div class="description">현재 DPI에 대응하는 기사의 상,하,좌,우의 좌표 값을 알아낸다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcContextMenuPos">calcContextMenuPos</a></b>(htConMenuCoordi, htContentSize, htLayerSize, htMovablePos, htViewerPos, nViewerHeight)
								</div>
								<div class="description">컨텍스트 메뉴의 위치를 계산한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcCurPageIdx">calcCurPageIdx</a></b>(nViewType, nCurPage)
								</div>
								<div class="description">서버로부터 넘겨 받는 신문데이터 배열에서 각 페이지에 해당하는 정보가 있는 배열 idx를 리턴한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcCurrentPageNum">calcCurrentPageNum</a></b>(nCurPage, nViewPageCnt)
								</div>
								<div class="description">현재 페이지 번호 계산</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcNextDPI">calcNextDPI</a></b>(aPercentList, nStep, nDPI)
								</div>
								<div class="description">배율 배열에서 해당 배율의 nStep만큼의 다음 배율을 찾아 리턴한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcNextPageNum">calcNextPageNum</a></b>(nPageNum, nViewType)
								</div>
								<div class="description">다음 페이지 번호를 계산</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcPageFlipStartPageNum">calcPageFlipStartPageNum</a></b>(nCurPage, nViewPageCnt)
								</div>
								<div class="description">페이지 넘기기 애니메이션에서 사용되는 이미지 시작 페이지 번호를 계산하여 리턴한다</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcPaperSize">calcPaperSize</a></b>(nPercent)
								</div>
								<div class="description">원본 사이즈비 대비 DPI로 신문 사이즈 계산</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcPrePageNum">calcPrePageNum</a></b>(nPageNum, nViewType)
								</div>
								<div class="description">이전 페이지 번호를 계산</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcProperDpiOnPage">calcProperDpiOnPage</a></b>(nViewType, nContentWidth)
								</div>
								<div class="description">쪽맞춤 DPI배율을 계산 , 가로 세로 너비에 따른 값을 계산해서 더 작은 값을 리턴한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcProperDpiOnWidth">calcProperDpiOnWidth</a></b>(nViewType, nContentWidth)
								</div>
								<div class="description">폭맞춤 DPI배율을 계산</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calcViewerSize">calcViewerSize</a></b>(htContentSize)
								</div>
								<div class="description">뷰어 영역 계산하는 함수, 신문사이즈와 브라우저상의 뷰어 크기를 비교해서 더 작은 값을 리턴한다</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calMovePos">calMovePos</a></b>(nPrePos, nPrePaperSize, nPaperSize, nViewerSize)
								</div>
								<div class="description">뷰어 확대/축소시 이전 크기대비 현재 DPI에서의 위치 값을 구한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#calViewerCenterPos">calViewerCenterPos</a></b>(nViewType, htContentSize)
								</div>
								<div class="description">뷰어 영역 브라우저 상 가운데 위치 계산</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getArticleInfoByArticleId">getArticleInfoByArticleId</a></b>(sArticleId)
								</div>
								<div class="description">기사 아이디에 해당하는 기사 정보를 가져온다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getBasePaperInfo">getBasePaperInfo</a></b>()
								</div>
								<div class="description">신문 크기에 대한 기본 정보를 반환</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getCurPageId">getCurPageId</a></b>(aPageInfo, nViewType, nTotalPageCnt)
								</div>
								<div class="description">현재 페이지의 ID를 가져오는 함수</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getImageForFlip">getImageForFlip</a></b>(nPageNum, nViewType, htFlipInfo)
								</div>
								<div class="description">페이지 넘기기 애니메이션에 필요한 통이미지 URL을 가져온다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getPaperSize">getPaperSize</a></b>()
								</div>
								<div class="description">신문크기 정보를 반환</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getSecureKey">getSecureKey</a></b>(aPageInfo, nViewPageCnt)
								</div>
								<div class="description">첫번째 전달인자에서 현재 페이지의 보안키를 추출하여 배열로 반환한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getSelectedArticleId">getSelectedArticleId</a></b>()
								</div>
								<div class="description">선택된 기사 아이디 값을 리턴하는 함수</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#getTotalPageWidth">getTotalPageWidth</a></b>()
								</div>
								<div class="description">전체 신문 너비 값를 반환</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#isAbleFlipAnimation">isAbleFlipAnimation</a></b>(nDPI)
								</div>
								<div class="description">페이지 넘기기 애니메이션이 가능한 DPI인지 체크한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#isAvailablePage">isAvailablePage</a></b>(htData, nViewType, nCurPage)
								</div>
								<div class="description">요청하는 페이지의 구매 여부를 체크하여 노출 가능한 페이지인지 여부를 리턴한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#isNextPage">isNextPage</a></b>(nViewCnt, nTotalPage, nCurPageNo)
								</div>
								<div class="description">다음 페이지가 존재하는지 체크한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#isPrevPage">isPrevPage</a></b>(nViewCnt, nCurPageNo)
								</div>
								<div class="description">이전 페이지가 존재하는지 체크한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#makeArticleOutLineInfo">makeArticleOutLineInfo</a></b>()
								</div>
								<div class="description">기사 테두리 정보를 좌/우 페이지로 나눠서 HashTable형태로 반환</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#makeArticleStatus">makeArticleStatus</a></b>(htArticleInfo)
								</div>
								<div class="description">기사 상태에 대해 적합한 컨텍스트 메뉴 문구와 URL를 만들어 리턴한다.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#makePageBtnTitle">makePageBtnTitle</a></b>(nPageNum, nViewType, nTotalPageCnt, sForward)
								</div>
								<div class="description">makePageBtnTitle 이전/다음 페이지 버튼에 노출되는 title 문구 정의하는 함수</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#setArticleInfo">setArticleInfo</a></b>(aPageInfo, nViewType)
								</div>
								<div class="description">신문 페이지별 정보를 멤버 변수에 저장한다</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#setBasePaperInfo">setBasePaperInfo</a></b>(nWidth, height)
								</div>
								<div class="description">신문 크기에 대한 기본 정보.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#setPaperSize">setPaperSize</a></b>(htPaperSize, nViewType)
								</div>
								<div class="description">신문 크기 정보를 멤버 변수에 저장하는 함수</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#setSelectedArticleId">setSelectedArticleId</a></b>(sArticleId)
								</div>
								<div class="description">선택된 기사 아이디 값을 저장하는 함수</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&lt;public&gt;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/nhn.newsstand.viewer.paper.Model.html#setTotalPageWidth">setTotalPageWidth</a></b>(nWidth)
								</div>
								<div class="description">전체 신문 너비 값을 멤버 변수에 저장</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					
					Constructor Detail
				</div>
				
				<div class="fixedFont">
						<b>nhn.newsstand.viewer.paper.Model</b>()
				</div>
				
				<div class="description">
					nhn.newsstand.viewer.paper.Model 클래스의 인스턴스를 생성한다.
					
				</div>
				
				
				
				<pre class="code">var oModel = new nhn.newsstand.viewer.paper.Model();</pre>
				
				
				
				
					
					
					
					
					
					
						<dl class="detailList">
						<dt class="heading">Requires:</dt>
						
							<dd><a href="../symbols/nhn.newsstand.viewer.config.html">nhn.newsstand.viewer.config</a></dd>
						
							<dd>nhn.newsstand.viewer.paper.Model.MSG</dd>
						
							<dd><a href="../symbols/nhn.newsstand.common.util.html">nhn.newsstand.common.util</a></dd>
						
						</dl>
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name="calcContextMenuCoordi"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>calcContextMenuCoordi</b>(aCoord, sSide, nDPI)
					
					</div>
					<div class="description">
						현재 DPI에 대응하는 기사의 상,하,좌,우의 좌표 값을 알아낸다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Array}</span> <b>aCoord</b>
									
								</dt>
								<dd>기사 테두리 좌표 배열(300DPI기준)</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>sSide</b>
									
								</dt>
								<dd>왼쪽면, 오른쪽 면</dd>
							
								<dt>
									<b>nDPI</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 기사의 꼭지점 좌표값(top, left, right, bottom)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcContextMenuPos"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>calcContextMenuPos</b>(htConMenuCoordi, htContentSize, htLayerSize, htMovablePos, htViewerPos, nViewerHeight)
					
					</div>
					<div class="description">
						컨텍스트 메뉴의 위치를 계산한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htConMenuCoordi</b>
									
								</dt>
								<dd>컨텍스트 메뉴 대상 기사 좌표</dd>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htContentSize</b>
									
								</dt>
								<dd>신문이 노출되는 영역 크기</dd>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htLayerSize</b>
									
								</dt>
								<dd>컨텍스트 메뉴 크기</dd>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htMovablePos</b>
									
								</dt>
								<dd>신문의 left,top 값</dd>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htViewerPos</b>
									
								</dt>
								<dd>뷰어의 left, top값</dd>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>nViewerHeight</b>
									
								</dt>
								<dd>뷰어의 높이 값</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 위치값(top, left)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcCurPageIdx"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcCurPageIdx</b>(nViewType, nCurPage)
					
					</div>
					<div class="description">
						서버로부터 넘겨 받는 신문데이터 배열에서 각 페이지에 해당하는 정보가 있는 배열 idx를 리턴한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 여부</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nCurPage</b>
									
								</dt>
								<dd>얻고자 하는 index의 페이지 번호</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 배열의 인덱스</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcCurrentPageNum"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcCurrentPageNum</b>(nCurPage, nViewPageCnt)
					
					</div>
					<div class="description">
						현재 페이지 번호 계산
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nCurPage</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewPageCnt</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 현재 페이지 번호</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcNextDPI"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcNextDPI</b>(aPercentList, nStep, nDPI)
					
					</div>
					<div class="description">
						배율 배열에서 해당 배율의 nStep만큼의 다음 배율을 찾아 리턴한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Array}</span> <b>aPercentList</b>
									
								</dt>
								<dd>배율 배열</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nStep</b>
									
								</dt>
								<dd>이동할 배율 step</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nDPI</b>
									
								</dt>
								<dd>이동할 기준 배율</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 배율</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcNextPageNum"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcNextPageNum</b>(nPageNum, nViewType)
					
					</div>
					<div class="description">
						다음 페이지 번호를 계산
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPageNum</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 다음 페이지 번호</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcPageFlipStartPageNum"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcPageFlipStartPageNum</b>(nCurPage, nViewPageCnt)
					
					</div>
					<div class="description">
						페이지 넘기기 애니메이션에서 사용되는 이미지 시작 페이지 번호를 계산하여 리턴한다
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nCurPage</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewPageCnt</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 페이지 넘기기용 이미지 중 시작 이미지의 번호</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcPaperSize"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>calcPaperSize</b>(nPercent)
					
					</div>
					<div class="description">
						원본 사이즈비 대비 DPI로 신문 사이즈 계산
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPercent</b>
									
								</dt>
								<dd>DPI값</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> DPI에 따른 신문 사이즈(width, height)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcPrePageNum"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcPrePageNum</b>(nPageNum, nViewType)
					
					</div>
					<div class="description">
						이전 페이지 번호를 계산
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPageNum</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 이전 페이지 번호</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcProperDpiOnPage"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcProperDpiOnPage</b>(nViewType, nContentWidth)
					
					</div>
					<div class="description">
						쪽맞춤 DPI배율을 계산 , 가로 세로 너비에 따른 값을 계산해서 더 작은 값을 리턴한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기  한면보기=1, 양면보기 2</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nContentWidth</b>
									
								</dt>
								<dd>신문이 노출될 수 있는 영역의 너비</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 쪽맞춤 배율</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcProperDpiOnWidth"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calcProperDpiOnWidth</b>(nViewType, nContentWidth)
					
					</div>
					<div class="description">
						폭맞춤 DPI배율을 계산
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기  한면보기=1, 양면보기 2</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nContentWidth</b>
									
								</dt>
								<dd>신문이 노출될 수 있는 영역의 너비</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 폭맞춤 배율</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calcViewerSize"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>calcViewerSize</b>(htContentSize)
					
					</div>
					<div class="description">
						뷰어 영역 계산하는 함수, 신문사이즈와 브라우저상의 뷰어 크기를 비교해서 더 작은 값을 리턴한다
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htContentSize</b>
									
								</dt>
								<dd>마크업 상에서의 Content 영역 크기</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 뷰어 영역의 사이즈값(width, height)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calMovePos"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>calMovePos</b>(nPrePos, nPrePaperSize, nPaperSize, nViewerSize)
					
					</div>
					<div class="description">
						뷰어 확대/축소시 이전 크기대비 현재 DPI에서의 위치 값을 구한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPrePos</b>
									
								</dt>
								<dd>이전 위치 값</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPrePaperSize</b>
									
								</dt>
								<dd>이전 신문 크기</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPaperSize</b>
									
								</dt>
								<dd>변경된 신문 크기</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewerSize</b>
									
								</dt>
								<dd>신문이 노출될 수 있는 크기</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 이전 크기대비 현재 DPI에서의 위치 값</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="calViewerCenterPos"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>calViewerCenterPos</b>(nViewType, htContentSize)
					
					</div>
					<div class="description">
						뷰어 영역 브라우저 상 가운데 위치 계산
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기  한면보기=1, 양면보기 2</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>htContentSize</b>
									
								</dt>
								<dd>신문이 노출될 수 있는 영역의 크기</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 위치값(top, left)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getArticleInfoByArticleId"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>getArticleInfoByArticleId</b>(sArticleId)
					
					</div>
					<div class="description">
						기사 아이디에 해당하는 기사 정보를 가져온다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>sArticleId</b>
									
								</dt>
								<dd>기사 아이디</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 해당 기사 정보</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getBasePaperInfo"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>getBasePaperInfo</b>()
					
					</div>
					<div class="description">
						신문 크기에 대한 기본 정보를 반환
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 신문 크기관련 기본 정보(width, height, DPI)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getCurPageId"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{String}</span>
					<b>getCurPageId</b>(aPageInfo, nViewType, nTotalPageCnt)
					
					</div>
					<div class="description">
						현재 페이지의 ID를 가져오는 함수
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Array}</span> <b>aPageInfo</b>
									
								</dt>
								<dd>페이지 정보를 담고 있는 배열</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nTotalPageCnt</b>
									
								</dt>
								<dd>전체 페이지 갯수</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> 아이디</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getImageForFlip"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Array}</span>
					<b>getImageForFlip</b>(nPageNum, nViewType, htFlipInfo)
					
					</div>
					<div class="description">
						페이지 넘기기 애니메이션에 필요한 통이미지 URL을 가져온다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPageNum</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htFlipInfo</b>
									
								</dt>
								<dd>페이지 플립을 위해 필요한 정보</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> 페이지 애니메이션에 필요한 통이미지 목록(항상 6개)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getPaperSize"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>getPaperSize</b>()
					
					</div>
					<div class="description">
						신문크기 정보를 반환
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 신문 사이즈값(width, height)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getSecureKey"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Array}</span>
					<b>getSecureKey</b>(aPageInfo, nViewPageCnt)
					
					</div>
					<div class="description">
						첫번째 전달인자에서 현재 페이지의 보안키를 추출하여 배열로 반환한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Array}</span> <b>aPageInfo</b>
									
								</dt>
								<dd>페이지 정보를 담고 있는 배열</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewPageCnt</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Array}</span> 현재 보고있는 페이지의 보안키</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getSelectedArticleId"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{String}</span>
					<b>getSelectedArticleId</b>()
					
					</div>
					<div class="description">
						선택된 기사 아이디 값을 리턴하는 함수
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> 기사 아이디</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getTotalPageWidth"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Number}</span>
					<b>getTotalPageWidth</b>()
					
					</div>
					<div class="description">
						전체 신문 너비 값를 반환
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Number}</span> 신문 전체 가로 사이즈</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isAbleFlipAnimation"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Boolean}</span>
					<b>isAbleFlipAnimation</b>(nDPI)
					
					</div>
					<div class="description">
						페이지 넘기기 애니메이션이 가능한 DPI인지 체크한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nDPI</b>
									
								</dt>
								<dd>현재 DPI</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> 페이지 넘기기 애니메이션 가능 배율인지 여부</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isAvailablePage"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Boolean}</span>
					<b>isAvailablePage</b>(htData, nViewType, nCurPage)
					
					</div>
					<div class="description">
						요청하는 페이지의 구매 여부를 체크하여 노출 가능한 페이지인지 여부를 리턴한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htData</b>
									
								</dt>
								<dd>서버로부터 받은 신문 데이터</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nCurPage</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> 노출 가능 여부</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isNextPage"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Boolean}</span>
					<b>isNextPage</b>(nViewCnt, nTotalPage, nCurPageNo)
					
					</div>
					<div class="description">
						다음 페이지가 존재하는지 체크한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewCnt</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nTotalPage</b>
									
								</dt>
								<dd>해당 신문호의 전체 페이지 갯수</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nCurPageNo</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> 다음 페이지 존재 여부</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="isPrevPage"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{Boolean}</span>
					<b>isPrevPage</b>(nViewCnt, nCurPageNo)
					
					</div>
					<div class="description">
						이전 페이지가 존재하는지 체크한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewCnt</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nCurPageNo</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Boolean}</span> 이전 페이지 존재 여부</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="makeArticleOutLineInfo"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>makeArticleOutLineInfo</b>()
					
					</div>
					<div class="description">
						기사 테두리 정보를 좌/우 페이지로 나눠서 HashTable형태로 반환
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 좌,우 기사의 테두리 정보(left, right)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="makeArticleStatus"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{HashTable}</span>
					<b>makeArticleStatus</b>(htArticleInfo)
					
					</div>
					<div class="description">
						기사 상태에 대해 적합한 컨텍스트 메뉴 문구와 URL를 만들어 리턴한다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{HashTable}</span> <b>htArticleInfo</b>
									
								</dt>
								<dd>기사 정보(서버에서 던져주는 정보.</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{HashTable}</span> 컨텍스트 메뉴 문구와 URL(MSG, URL)</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="makePageBtnTitle"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					<span class="light">{String}</span>
					<b>makePageBtnTitle</b>(nPageNum, nViewType, nTotalPageCnt, sForward)
					
					</div>
					<div class="description">
						makePageBtnTitle 이전/다음 페이지 버튼에 노출되는 title 문구 정의하는 함수
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nPageNum</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nTotalPageCnt</b>
									
								</dt>
								<dd>전체 페이지 갯수</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>sForward</b>
									
								</dt>
								<dd>페이지 버튼 방향 (pre|next)</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> 페이지이동버튼에 사용될 title 값</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="setArticleInfo"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					
					<b>setArticleInfo</b>(aPageInfo, nViewType)
					
					</div>
					<div class="description">
						신문 페이지별 정보를 멤버 변수에 저장한다
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>aPageInfo</b>
									
								</dt>
								<dd>현재 페이지 번호</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기 지정</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setBasePaperInfo"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					
					<b>setBasePaperInfo</b>(nWidth, height)
					
					</div>
					<div class="description">
						신문 크기에 대한 기본 정보. 신문 크기는 300DPI 기준이다.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nWidth</b>
									
								</dt>
								<dd>너비 값</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>height</b>
									
								</dt>
								<dd>높이 값</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setPaperSize"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					
					<b>setPaperSize</b>(htPaperSize, nViewType)
					
					</div>
					<div class="description">
						신문 크기 정보를 멤버 변수에 저장하는 함수
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Hashtable}</span> <b>htPaperSize</b>
									
								</dt>
								<dd>한페이지 기준 신문 크기</dd>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nViewType</b>
									
								</dt>
								<dd>한/양면보기  한면보기=1, 양면보기 2</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setSelectedArticleId"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					
					<b>setSelectedArticleId</b>(sArticleId)
					
					</div>
					<div class="description">
						선택된 기사 아이디 값을 저장하는 함수
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>sArticleId</b>
									
								</dt>
								<dd>기사 아이디</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setTotalPageWidth"> </a>
					<div class="fixedFont">&lt;public&gt;
					
					
					<b>setTotalPageWidth</b>(nWidth)
					
					</div>
					<div class="description">
						전체 신문 너비 값을 멤버 변수에 저장
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>nWidth</b>
									
								</dt>
								<dd>전체 신문 너비</dd>
							
							</dl>
						
						
						
						
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Tue Nov 08 2011 17:09:35 GMT+0900 (KST)
		</div>
	</body>
</html>
